home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 26.zip / BS1 part 26 / Aztec C v5.2a disk 4.adf / 204inc_i.lzh / exec / interrupts.i < prev    next >
Text File  |  1991-03-14  |  2KB  |  73 lines

  1.     IFND    EXEC_INTERRUPTS_I
  2. EXEC_INTERRUPTS_I    SET    1
  3. **
  4. **    $Filename: exec/interrupts.i $
  5. **    $Release: 2.04 $
  6. **    $Revision: 36.5 $
  7. **    $Date: 90/05/10 $
  8. **
  9. **    Callback structures used by hardware & software interrupts
  10. **
  11. **    (C) Copyright 1985,1986,1987,1988,1989 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. **
  14.  
  15.     IFND EXEC_NODES_I
  16.     INCLUDE "exec/nodes.i"
  17.     ENDC    ; EXEC_NODES_I
  18.  
  19.     IFND EXEC_LISTS_I
  20.     INCLUDE "exec/lists.i"
  21.     ENDC    ; EXEC_LISTS_I
  22.  
  23.  
  24. *----------------------------------------------------------------
  25. *
  26. *   Interrupt Structure
  27. *
  28. *----------------------------------------------------------------
  29.  
  30.  STRUCTURE  IS,LN_SIZE
  31.     APTR    IS_DATA
  32.     APTR    IS_CODE
  33.     LABEL   IS_SIZE
  34.  
  35.  
  36. *---------------------------------------------------------------------
  37. *
  38. *   Exec Internal Interrupt Vectors
  39. *
  40. *---------------------------------------------------------------------
  41.  
  42.  STRUCTURE  IV,0
  43.     APTR    IV_DATA
  44.     APTR    IV_CODE
  45.     APTR    IV_NODE
  46.     LABEL   IV_SIZE
  47.  
  48.  
  49. *------ System Flag bits (in SysBase.SysFlags )
  50.  
  51.     BITDEF  S,SAR,15        ; scheduling attention required (TOP BIT)
  52.     BITDEF  S,TQE,14        ; time quantum expended -- time to resched
  53.     BITDEF  S,SINT,13
  54.  
  55.  
  56. *---------------------------------------------------------------------
  57. *
  58. *   Software Interrupt List Headers
  59. *
  60. *---------------------------------------------------------------------
  61.  
  62.  STRUCTURE  SH,LH_SIZE
  63.     UWORD   SH_PAD
  64.     LABEL   SH_SIZE
  65.  
  66. SIH_PRIMASK  EQU    $0F0
  67. SIH_QUEUES   EQU    5
  68.  
  69. ** this is a fake INT definition, used only for AddIntServer and the like
  70.     BITDEF    INT,NMI,15
  71.  
  72.     ENDC    ; EXEC_INTERRUPTS_I
  73.